import {isEmpty,prettyPrint} from "."
const warning = (textOrTitle: string, content = '') => {
  const title = isEmpty(content) ? 'Warning' : textOrTitle;
  const text = isEmpty(content) ? textOrTitle : content;
  prettyPrint(title, text, '#E6A23C');
};
export {warning}